<div class="mainbox_R">
	<if condition="$config['createGroup']">
      <div class="right_box alC mt10"><a href="{:U('group/Index/add')}"><img src="../Public/images/add_btn.gif" /></a></div>
    </if>
    <div class="right_box">
      <php>if (!empty($hot_group_list)) {</php>
      <h2>群组排行榜</h2>
      <ul>
      <li class="lh30 cGray2"><span class="right">成员数</span>群组</li>
        <volist name="hot_group_list" id="hot_group">
        
          <li class="lh35 lineD_topR">
            <em class="right">{$hot_group['membercount']}</em>
            <span style="width:20px;display: inline-block;" class="f14px">
            	<span class="<elt name="i" value="3">cRed</elt>"><strong>{$i}</strong></span>
            </span>
            <a href="{:U('group/Group/index', array('gid'=>$hot_group['id']))}">
              <img style="vertical-align:middle" src="__ROOT__/thumb.php?w=25&h=25&t=f&url={$hot_group['logo']|get_photo_url}">
            </a>
            <a target="_self" class="username" href="{:U('group/Group/index', array('gid'=>$hot_group['id']))}">{$hot_group['name']|getShort=6,'...'}</a>
          </li>
        </volist>
      </ul>
      <php>} // end if</php>
    </div>
    <php>if (!empty($hot_tags_list)) {</php>
    <div class="right_box">
      <h2>热门群标签</h2>
      <ul class="topic_list">
        <volist name="hot_tags_list" id="hot_tag">
          <li><a href="{:U('group/Index/search', array('k'=>urlencode($hot_tag['tag_name'])))}">{$hot_tag['tag_name']}({$hot_tag['count']})</a></li>
        </volist>
      </ul>
    </div>
    <php>} // end if</php>
</div>